<style>
.nav-outline > a {
  border: 1px solid red;
  border-right: none;
}
.nav-outline > a:last-child {
  border-right: 1px solid red;
}
</style>
<div class="content">
  <div class="list">
    <div class="item">
      <div class="content">
        <div>
          <nav class="nav nav-outline">
            <a><i class="icon-home"></i></a>
            <a>产品</a>
            <a>项目</a>
            <a>需求</a>
            <a>Bug</a>
          </nav>
        </div>
        <div><pre class="prettyprint"><code>&lt;nav class=&quot;nav nav-outline&quot;&gt;
  &lt;a&gt;&lt;i class=&quot;icon-home&quot;&gt;&lt;/i&gt;&lt;/a&gt;
  &lt;a&gt;&#x4ea7;&#x54c1;&lt;/a&gt;
  &lt;a&gt;&#x9879;&#x76ee;&lt;/a&gt;
  &lt;a&gt;&#x9700;&#x6c42;&lt;/a&gt;
  &lt;a&gt;Bug&lt;/a&gt;
&lt;/nav&gt;</code></pre></div>
        <div><pre class="prettyprint"><code>.nav-outline > a {
  border: 1px solid red;
  border-right: none;
}
.nav-outline > a:last-child {
  border-right: 1px solid red;
}</code></pre></div>
      </div>
     </div>
  </div>
</div>
